﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Default.master" AutoEventWireup="true"
    CodeBehind="Withdraw.aspx.cs" Inherits="AUV5.Web.Pages.Withdraw" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        $(function () {
            $("[id$='btnSubmit']").click(function () {
                var accoutVal = $.trim($("[id$='txtAmount']").val());
                var accountRe = /^(([5-9])|([1-9][0-9]))\d+$/;
                if (accoutVal == "") {
                    alert("提现金额不能为空");
                    return false;
                }
                else {
                    if (!accountRe.test(accoutVal)) {
                        alert("提现金额只能输入大于等于50的正整数");
                        return false;
                    }                    
                }
            }).mousemove(function () {
                $(this).removeClass("btn_submitout").addClass("btn_submitover");
            }).mouseout(function () {
                $(this).removeClass("btn_submitover").addClass("btn_submitout");
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p class="usertitle">
        提现申请</p>
    <div class="accountbar">
        <div class="withdrawbar">
            <p class="withdrawtitle">
                账户信息</p>
            <p class="withdrawinfo">
                <asp:Label ID="lblAccount" runat="server" Text=""></asp:Label><span class="padleft">余额：<asp:Label
                    ID="lblBalance" runat="server" Text=""></asp:Label></span> <span class="padleft">银行：<asp:Label ID="lblAccountType"
                        runat="server" Text=""></asp:Label></span><span class="padleft"><a href="/Pages/AccountEdit.aspx">编辑</a></span></p>
            <p class="withdrawtitle">
                提现金额</p>
            <div class="withdraw">
                <p>
                    输入金额</p>
                <p>
                    <asp:TextBox ID="txtAmount" runat="server"></asp:TextBox></p>
                <p>
                    元</p>
                <div class="clear">
                </div>
            </div>
            <p class="clear">
            </p>
        </div>
    </div>
    <p class="btn_submitbar">
        <asp:Button ID="btnSubmit" runat="server" CssClass="btn_submit btn_submitout" Text="提交请求"
            OnClick="btnSub_Click" /></p>
</asp:Content>
